﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<SDT.Mobile.Models.ArticleListViewModel>" %>
<%@ Import Namespace="SDT.Lib.Helpers" %>
<div class="new_list">
    <%if (Model!=null && Model.Articles!=null)
      {         
          %>
    <ul>
   	  <%foreach(var item in Model.Articles)
        {
         %>
   	    <li>
            <%=Html.CustomActionLink(item.Title,item.ArticleCategory.Name,Model.ControllerName, Model.ActionDetails, new Dictionary<string,object>(){{ "id",item.ID }},false,string.Empty)%>        
   	    </li>              
       <%} %>
    </ul>
  <%} %>
</div>
      


